import yagmail


def send_email():
    email=yagmail.SMTP(user='3177622011@qq.com',password='yquwqcqunqkcdgjb',host='smtp.qq.com')
    email.send(to='3177622011@qq.com',subject='测试报告',contents='京东测试内容')